package com.as3.timbot.mvc
{
	import com.as3.timbot.helper.GraphicHelper;
	
	import flash.events.MouseEvent;
	
	public class TestPlugin extends AbstractPlugin
	{
		public function TestPlugin()
		{
			super();
			trace ("the test plugin is active ");
		}
		override protected function register():void
		{
			GraphicHelper(getView()).getContent().addEventListener(MouseEvent.CLICK,onClick);
		}
		private function onClick(ev:MouseEvent):void
		{
			trace("the sprite was clicked");
		}
	}
}